package com.xxx.springboot.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * easy poi导出VO
 * @author guwq
 * @since 2021/6/26
 */
@Data
public class UserExportVO implements Serializable {

    @Excel(name = "姓名")
    private String name;

    @Excel(name = "性别", replace = {"男_1", "女_2"}, suffix = "生")
    private Integer sex;

    @Excel(name = "出生日期", format = "yyyy-MM-dd")
    private Date birthDay;

    @Excel(name = "手机号码")
    private String phone;

    @Excel(name = "邮箱")
    private String email;


}
